#gs-document-curl-modal-background {
    position: fixed; /* position: absolute; */
    
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background-color: #AAAAAA;
    opacity: 0.6;
    
    z-index: 10;
}

#gs-document-menu-container {
    position: fixed; /* position: absolute; */
    
    bottom: 0;
    left: 0;
    
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: 100%;
    
    background-color: #F5F5F5;
    
    z-index: 10;
    overflow: hidden;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

#gs-document-menu-link-container {
    position: absolute;
    
    bottom: 0;
    left: 0;
    
    width: 100%;
    
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#gs-document-menu-container a {
    color: #697CFF;
    text-decoration: underline;
}

#gs-document-curl-container {
    position: fixed;
    
    bottom: 0;
    right: 0;
    
    width: 4em;
    height: 1em;
    
    z-index: 10;
    overflow: hidden;
}

/*#gs-document-curl-container:hover {
    font-size: 2em;
}*/

#gs-document-curl-part-1 {
    position: absolute;
    
    right: -1.8em;
    bottom: -0.07em;
    
    width: 12em;
    height: 4em;
    
    box-shadow: 0 0 0.5em 0 #AAAAAA inset;
    border-radius: 50%;
}

#gs-document-curl-part-2 {
    position: absolute;
    
    right: -0.4em;
    bottom: -0.06em;
    
    width: 12em;
    height: 4em;
    
    border: 1px solid transparent;
    border-bottom: 1px solid #000000;
    
    box-shadow: 0 0 0.5em 0 #AAAAAA;
    border-radius: 50%;
}

#gs-document-curl-part-3 {
    position: absolute;
    
    right: -1.19em;
    bottom: 0.315em;
    
    width: 1.35em;
    height: 6em;
    
    border: 1px solid transparent;
    border-bottom: 1px solid #000000;
    
    z-index: 2;
    
    border-radius: 50%;
    -webkit-transform: rotate(16deg);
    -moz-transform: rotate(16deg);
    -ms-transform: rotate(16deg);
    -o-transform: rotate(16deg);
    transform: rotate(16deg);
}

#gs-document-curl-part-4 {
    position: absolute;
    
    right: -1.8em;
    bottom: -0.07em;
    
    width: 12em;
    height: 4em;
    
    box-shadow: 0 0 0.5em 1em #F5F5F5;
    border-radius: 50%;
}